package com.simple.behavior.classandclass.command;

/**
 * @author simple
 * @version 1.0
 * @date 2019-01-04 18:09
 * @since 1.0
 */
public class Start {
    public static void main(String[] args) {
        Receiver receiver = new Receiver();
        Command command = new MyCommand(receiver);
        Invoker invoker = new Invoker(command);
        invoker.action();
    }
}
